testsuite: use SysprofProfiler for profiling
authorChristian Hergert <chergert@redhat.com>
Fri, 21 Aug 2020 20:49:14 +0000 (13:49 -0700)
committerChristian Hergert <chergert@redhat.com>
Fri, 21 Aug 2020 20:51:52 +0000 (13:51 -0700)
commit5a5b30681efe2f74d676911444967f7e73a09c51
tree43f0009ec3c62f7571f7991e425d5c2697e8203f
parent7039f313910fc00c1937d09950fac17f516b0a96
testsuite: use SysprofProfiler for profiling

Instead of using sysprof-cli to profile subprocesses, this uses
libsysprof's SysprofProfiler directly so that we can avoid an indirect
subprocess as well as disabling the polkit nag.

To do this, we have to link against libsysprof instead of
libsysprof-capture. This is limited to the -Dbuild-tests=true and
-Dprofiler=true case.
meson.build
testsuite/performance/test-performance.c